package com.ndp.fb.rdb.api;

import java.util.List;

import com.ndp.fb.rdb.model.AdCreative;

/**
 * Created by hunk.qin on 2015/3/12.
 */
public interface AdCreativeRdbService {

    Long save(AdCreative adCreative);

    AdCreative findByAdCreativeId(Long adCreativeId);
    /**
     * 根据MD5 group 过滤掉没有使用的md5
     * @param md5s
     * @return
     */
    List<String> filterUseMd5s(List<String> md5s);

    void updateEcTemplateMaterielId(Long adCreativeId,Long ecTemplateMaterielId);


}
